using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace mesoBoard.Data.Repositories
{
    public interface IPermissionRepository
    {
        IEnumerable<ForumPermission> GetForumPermissions();
        IEnumerable<ForumPermission> GetForumPermissions(int forumID);
        ForumPermission GetForumPermission(int ForumPermissionID);
        void UpdatePermission(ForumPermission tPerm);
        bool PermissionExists(int ForumID, int RoleID);
        void CreateForumPermission(ForumPermission fPerm);
        void DeleteForumPermission(ForumPermission fPerm);

    }
}